import React from 'react'

//会员列表
export async function apiGetMembersPage(params) {
    return await React.$post('/admin/memberInfo/page', params);
}

//会员列表-冻结
export async function apiGetMemberInfoFreeze(params) {
    return await React.$post('/admin/memberInfo/freeze', params);
}

//会员列表-解冻
export async function apiGetMemberInfoUnFreeze(params) {
    return await React.$post('/admin/memberInfo/unfreeze', params);
}

//会员列表-会员信息
export async function apiGetMemberInfoView(params) {
    return await React.$post('/admin/memberInfo/memberDetail', params);
}

//会员列表-订单
export async function apiGetMemberInfoOrderList(params) {
    return await React.$post('/admin/orderInfo/getOrderListByMemberId', params);
}

//会员列表-嗨豆消费详细
export async function apiGetScoreRecordPage(params) {
    return await React.$post('/admin/scoreRecord/page', params);
}

//会员列表-赠送嗨豆
export async function apiGetMemberInfoGiveScore(params) {
    return await React.$post('/admin/memberInfo/give/score', params);
}

//会员列表-扣除嗨豆
export async function apiGetMemberInfoDeductionScore(params) {
    return await React.$post('/admin/memberInfo/deduction/score', params);
}

//会员列表-扣除嗨豆
export async function apiGetMemberInfoRelationsPage(params) {
    return await React.$post('/admin/memberInfo/childList/page', params);
}
